package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Activityrecord implements Serializable {
    private String arno;

    private String atno;

    private String fno;

    private String arnumber;

    private String arstarttime;

    private String arstoptime;

    private String ardescribe;

    private Integer arstate;

    private static final long serialVersionUID = 1L;

    public String getArno() {
        return arno;
    }

    public void setArno(String arno) {
        this.arno = arno;
    }

    public String getAtno() {
        return atno;
    }

    public void setAtno(String atno) {
        this.atno = atno;
    }

    public String getFno() {
        return fno;
    }

    public void setFno(String fno) {
        this.fno = fno;
    }

    public String getArnumber() {
        return arnumber;
    }

    public void setArnumber(String arnumber) {
        this.arnumber = arnumber;
    }

    public String getArstarttime() {
        return arstarttime;
    }

    public void setArstarttime(String arstarttime) {
        this.arstarttime = arstarttime;
    }

    public String getArstoptime() {
        return arstoptime;
    }

    public void setArstoptime(String arstoptime) {
        this.arstoptime = arstoptime;
    }

    public String getArdescribe() {
        return ardescribe;
    }

    public void setArdescribe(String ardescribe) {
        this.ardescribe = ardescribe;
    }

    public Integer getArstate() {
        return arstate;
    }

    public void setArstate(Integer arstate) {
        this.arstate = arstate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Activityrecord other = (Activityrecord) that;
        return (this.getArno() == null ? other.getArno() == null : this.getArno().equals(other.getArno()))
            && (this.getAtno() == null ? other.getAtno() == null : this.getAtno().equals(other.getAtno()))
            && (this.getFno() == null ? other.getFno() == null : this.getFno().equals(other.getFno()))
            && (this.getArnumber() == null ? other.getArnumber() == null : this.getArnumber().equals(other.getArnumber()))
            && (this.getArstarttime() == null ? other.getArstarttime() == null : this.getArstarttime().equals(other.getArstarttime()))
            && (this.getArstoptime() == null ? other.getArstoptime() == null : this.getArstoptime().equals(other.getArstoptime()))
            && (this.getArdescribe() == null ? other.getArdescribe() == null : this.getArdescribe().equals(other.getArdescribe()))
            && (this.getArstate() == null ? other.getArstate() == null : this.getArstate().equals(other.getArstate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getArno() == null) ? 0 : getArno().hashCode());
        result = prime * result + ((getAtno() == null) ? 0 : getAtno().hashCode());
        result = prime * result + ((getFno() == null) ? 0 : getFno().hashCode());
        result = prime * result + ((getArnumber() == null) ? 0 : getArnumber().hashCode());
        result = prime * result + ((getArstarttime() == null) ? 0 : getArstarttime().hashCode());
        result = prime * result + ((getArstoptime() == null) ? 0 : getArstoptime().hashCode());
        result = prime * result + ((getArdescribe() == null) ? 0 : getArdescribe().hashCode());
        result = prime * result + ((getArstate() == null) ? 0 : getArstate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", arno=").append(arno);
        sb.append(", atno=").append(atno);
        sb.append(", fno=").append(fno);
        sb.append(", arnumber=").append(arnumber);
        sb.append(", arstarttime=").append(arstarttime);
        sb.append(", arstoptime=").append(arstoptime);
        sb.append(", ardescribe=").append(ardescribe);
        sb.append(", arstate=").append(arstate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}